home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 41 / Issue 41.iso / pc / Smoothwall / smoothwall-cdrom-0.9.6.iso / docs / installation.txt < prev    next >
Encoding:
Text File  |  2000-12-02  |  10.0 KB  |  257 lines

  1. <PRE>
  2. SmoothWall Install Guide
  3.  
  4. By Jon Fautley (filbert@webbedmail.com) and Tom Ellis (trellis@webbedmail.com)
  5. Edited by Richard Morrell (rmorrell@valinux.com) and Lawrence Manning
  6. (guru@smoothwall.org)
  7.  
  8. Version: 1.2 - Date: 20/09/00
  9.  
  10. This is the SmoothWall installation guide. It will tell you how to install
  11. SmoothWall onto your computer.  For post-install configuration, please see
  12. the configuration guide.
  13.  
  14. 1. The SmoothWall CD
  15.  
  16. There are two ways to get at the files contained within the ISO image
  17. file.  The first is to burn it to a writeable CD.  The second is to mount
  18. it via loopback from a Linux workstation.
  19.  
  20. The Smoothwall ISO image can be found at:
  21. sourceforge.net/projects/smoothwall
  22.  
  23. Our example filename smoothwall-cdrom-X.Y.Z.iso, where X, Y and Z are the
  24. version numbers.
  25.  
  26. 1.1. Burning the ISO file under Linux
  27.  
  28.     cdrecord dev=0,SCSI_ID,0 smoothwall-cdrom-X.Y.Z.iso 
  29.  
  30. 1.2. Burning the ISO file under Windows
  31.  
  32. Under Windows there are many CD recording programs, each of which works
  33. slightly differently.  We have chosen to use the application CDRWin, which
  34. you should be able to adapt to your particular choice of burning software.
  35.  
  36. In CDRWin use the file backup utilities, this is represented by the
  37. 'Screwdriver and Spanner' from the menu.
  38.  
  39. When the window loads change the combo box to 'Record ISO9660' and then
  40. point the image location to the location of the SmoothWall ISO file.  
  41. Stick in a CDR or CDRW recordable media and proceed.
  42.  
  43. The default settings are fine as long as CDRwin is already working you
  44. should be all right.  We have certainly not experienced any difficulties.
  45.  
  46. We have tested our ISO images with:
  47.  
  48. Adaptec DirectCD which immediately created an ISO image by double clicking
  49. on the file we had previously FTP'd from our Linux test download server as
  50. the registry in Windows 9x had picked up the association and within
  51. minutes we had a bootable ISO CD to work with.
  52.  
  53. Nero v 5.0 which also produced in around the same time a perfect working
  54. CD image
  55.  
  56. 1.3. Mounting under Loopback
  57.  
  58. If you do not have a CD burner, you can still install SmoothWall via your
  59. network.  To do this, you will need to access the files from the ISO image
  60. file, and then create two floppy disks.
  61.  
  62. To mount the ISO file under Linux, do the following:
  63.  
  64.     losetup /dev/loop0 smoothwall-X.Y.Z.iso
  65.     mount /dev/loop0 /mnt/cdrom
  66.  
  67. You will now see the contents of the SmoothWall CDROM under /mnt/cdrom.  
  68. Now you can create the floppy disks.
  69.  
  70. When you have finished, make sure you unmount and remove loop0, before you
  71. do anything to the iso file:
  72.  
  73.     umount /mnt/cdrom
  74.     losetup -d /dev/loop0
  75.  
  76. 2. Preparing to Install
  77.  
  78. There are two ways to install SmoothWall.  You can either install directly
  79. from the CDROM, using a bootdisk or by booting directly off the CDROM, or
  80. you can install across a network.
  81.  
  82. 2.1. CDROM Installation from a Bootable CDROM Drive
  83.  
  84. Before you start make sure that you have set your computer to boot from
  85. the CDROM in the BIOS.  Also if you have downloaded the iso image from the
  86. SmoothWall site or a mirror please ensure that you have copied it
  87. correctly.  Instructions on coping are included in this guide.
  88.  
  89. 1. Insert the SmoothWall CD into your CDROM drive.
  90.  
  91. 2. Turn on machine and wait till you are greeted with the LILO: prompt.  
  92.  
  93. 3. Now hit return and your screen should fill with text, this will be the
  94. SmoothWall install kernel booting.  Soon after this you will forced into
  95. the install program.
  96.  
  97. 4. Now follow the prompts, select Ok.  Then choose your installation
  98. media. There are two options: CDROM and FTP or HTTP
  99.  
  100. 5. After you have selected the media type you will be prompted to insert
  101. the CDROM into the drive.  In this case you should have the SmoothWall
  102. disk still in the drive as you booted it.  At this point, it will attempt
  103. to automatically find an ATAPI CDRom drive in your system.  If it cannot
  104. find one, you will be presented with a list of 'old style' CDRom drive.  
  105. Select yours from the list, and continue.
  106.  
  107. 6. You are now ready to move onto the Main Install section.
  108.  
  109. 2.2. Installing via a Network
  110.  
  111. 1. You need to create both of the SmoothWall bootdisks.  You will need two
  112. 1.44Mb formatted floppies. From a Linux box, you need to be logged in as
  113. 'root' and do the following:
  114.  
  115. a) Label the disks 'SmoothWall Disk1' and 'SmoothWall Disk2'
  116.  
  117. b) There are two disk images on the cdrom: smoothwall-disk1-X.Y.Z and
  118. smoothwall-disk2-X.Y.Z
  119.  
  120. c) Copy the image file to the floppy disk: dd if=smoothwall-disk1-X.Y.Z
  121. of=/dev/fd0 bs=1k count=1440
  122.  
  123. d) Repeat the above, but replace the disk1 with disk2.
  124.  
  125. 2. Now that you have both of the SmoothWall install disks, you are ready
  126. to proceed. You will need to get the smoothwall.tgz file off the CD image.  
  127. You can either use the loopback method, or copy from a burnt CD.
  128.  
  129. 3. Now you need to copy this file to the directory used for sharing files
  130. to the outside world.  You need access to a server running on the network
  131. and also running a webserver or an FTP service.  We will assume you are
  132. using HTTP (web):
  133.  
  134. Copy the file to the root directory of your webserver.  Assuming the CDROM
  135. is mounted under /mnt/cdrom, and web server path is /home/httpd/htdocs,
  136. you would execute the command:
  137.  
  138.      cp /mnt/cdrom/smoothwall.tgz /home/httpd/htdocs
  139.  
  140. 4. You should now have both of the disks made, and the file ready to be
  141. served from your web server.  Now, you need to go over to the box you are
  142. going to install SmoothWall onto, and put the "SmoothWall Disk1" disk into
  143. the floppy drive. Then switch the box on. You should get a prompt saying
  144. 'LILO boot:'
  145.  
  146. 5. Press 'Enter' and the kernel will load, and after a few seconds, you
  147. will get the install program loaded. If you have any problems, it's
  148. probably because your boot disk is corrupt, get a new one.
  149.  
  150. 6. After going through the information dialogs, you will get to the 'Select
  151. Installation Media' dialog.  Select 'HTTP' as your install method.
  152.  
  153. 7. You will now need to change disks to Disk2, and select 'Ok'.
  154.  
  155. 8. You will now be warned that the install program is about to wipe ALL
  156. THE DATA ON YOUR HARDDISK!!!!  TAKE NOTE!!  This procedure CANNOT be
  157. undone.  Select'Ok' to continue.
  158.  
  159. 9. You are now ready to move to the Main Install section.
  160.  
  161. 3. Main Install
  162.  
  163. This is the main install section for SmoothWall.  Regardless of the
  164. install method you use, you will need to follow the instructions here.
  165.  
  166. 1. After partitioning, the Install program will attempt to detect which
  167. network card you have installed in this machine.  It will check for the
  168. presence of around 40 cards.  If this fails, you will need to enter the
  169. Linux module name for the particular card.  EXAMPLE:
  170.  
  171. For our installation we used a standard NE 2000 network card, which comes
  172. under the module name ne.  Because this an ISA card, and requires one
  173. additional parameter, the IO port address, the autodetection will fail.  
  174. We entered the module name and parameters when asked.  In our case, this
  175. was 'ne io=0x300'. The module will then load successfully and installation
  176. can continue.
  177.  
  178. 2. You have now reached the network setup page.  This page requires you to
  179. enter an IP (Internet Protocol) Address which will be the address to
  180. access your machine on the local network.  We suggest you write down all
  181. information in this section as it can be handy to have the information
  182. ready for client configuration.  Choose a suitable IP address, if your
  183. network is already setup then select an approprate IP.
  184.  
  185. EXAMPLE:
  186.  
  187. A network has computers on the 192.168.0.0 network.  Routers are commonly
  188. placed at the end or start of the address range so we will choose an IP
  189. address of 192.168.0.1.
  190.  
  191. Network Address:
  192.  
  193. With our example this would be: 192.168.0.0
  194.   
  195. Network Mask:
  196.  
  197. The network mask in our example is: 255.255.255.0.  This means the last
  198. digit in our address is used for the host, the rest is the network
  199. portion.
  200.  
  201. Press return on the OK button.
  202.  
  203. If you are performing a network install, at this point you will be asked to
  204. enter a URL so the Install program can download the smoothwall.tgz file. 
  205. Assuming you copied the smoothwall.tgz to a webserver with IP address of
  206. 192.168.1.2, the URL entered in the box would be:
  207.  
  208.     http://192.168.1.2/smoothwall.tgz
  209.  
  210. 3. SmoothWall will now proceed to install on your system, watch the status
  211. bar and it will give you a idea into what it is doing.
  212.  
  213. 4. Now, set the root password which will be the account password for the
  214. user root when you reboot your machine. This account is only needed if you
  215. want to be able to directly login to SmoothWall and access the shell. Now
  216. set the password for the SmoothWall admin web user.  This password will be
  217. used when using the web pages contained in SmoothWall.  This user can
  218. Dial, Hangup and setup the necessary details for the site.
  219.  
  220. 5. Almost finished. LILO (the Linux bootloader) will then install to make
  221. the harddisk bootable.  If you installed via the CDROM, the SmoothWall
  222. CDROM disk will eject.  Select Ok to reboot the machine.
  223.  
  224. Please remember to remove all media from drives.  As if you do not your
  225. drive may close with the Smoothwall CD still in it and will re-initialise
  226. the installation procedure.
  227.  
  228. Congratulations !!!
  229.  
  230. 6. SmoothWall Linux has now successfully been installed on your system, as
  231. your system reboots wait for the LILO prompt. Hit the return key.  
  232. SmoothWall will then boot and start its services.  Then you should be
  233. presented with a login in prompt similar to this:
  234.  
  235.     SmoothWall vX.Y.Z - http://www.smoothwall.org
  236.     smoothwall login:
  237.  
  238. Your machine is now running SmoothWall Linux, please now consult the
  239. configuration guide on how to configure your SmoothWall firewall dialup
  240. router.
  241.  
  242.  
  243.  
  244. Microsoft Windows, Nero, Adaptec DirectCD and CDRWin are registered
  245. trademarks of their registered owners, Linux is a registered trademark of
  246. Linus Torvalds, SmoothWall is a trademark of Lawrence Manning and Richard
  247. Morrell. SmoothWall is based on VA Linux 6.2.1 which is an optimised
  248. release of RedHat 6.2.
  249.  
  250. Further bug track reports, FAQ's and instructions will be available at
  251. www.smoothwall.org
  252.  
  253. We draw your attention to the terms and conditions of the GNU Public
  254. Licence under which SmoothWall is developed and distributed - a copy of
  255. this can be found on the installation media or on www.gnu.org
  256. </PRE>
  257.